package com.bolong.gmgc.dao.record;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.bolong.gmgc.bean.record.Watchhouse;
import com.bolong.gmgc.bean.record.WatchhouseQuery;
@Component
public interface WatchhouseMapper {
	int countByExample(WatchhouseQuery example);

	int deleteByExample(WatchhouseQuery example);

	int deleteByPrimaryKey(String id);

	int insert(Watchhouse record);

	int insertSelective(Watchhouse record);

	List<Watchhouse> selectByExample(WatchhouseQuery example);

	Watchhouse selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Watchhouse record, @Param("example") WatchhouseQuery example);

	int updateByExample(@Param("record") Watchhouse record, @Param("example") WatchhouseQuery example);

	int updateByPrimaryKeySelective(Watchhouse record);

	int updateByPrimaryKey(Watchhouse record);

	// 查询所有岗亭
	List<Watchhouse>  selectallwatchhouse();
	//查询该岗亭昨天上班人数
	int findwatchhouse_cash_empcount(@Param("watchhouse_id")String watchhouse_id);

}